Klasse DefaultSetting
java.lang.Object
com.inet.pdfc.config.DefaultSetting
- Alle implementierten Schnittstellen:
Settings, ColorProvider, Serializable
This is the Defaultsetting with the default values. This setting will be used for the first installation. All setting
for
DiffGroup.GroupType and Settings.EXPORT are enabled Setting for
Settings.OPTION are disabled Differencemarker color (Settings.METAOPTION) are blue AddAndRemoved
Elements are red Modified content are orange Modified styles are red Meta Data changed are light blue- Seit:
- 4.1
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen Settings
Settings.EXPORT, Settings.FILTER, Settings.METAOPTION, Settings.OPTION -
Feldübersicht
Von Schnittstelle geerbte Felder Settings
IMAGE_SCALE_FACTOR, MAX_ERRORS_PER_FILE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibung@Nonnull Settingscopy()Create a copy of the current settingList<ObjectSetting<?>> Returns all registered additional settings.getColor(@Nonnull com.inet.pdfc.config.ColorSetting colorSetting) Get the color for a setting@Nonnull ColorgetMarkerColor(@Nonnull DiffGroup.GroupType content) Veraltet.@Nonnull ColorgetMarkerColor(@Nonnull Modification.ModificationType modificationType) Returns the color of the marker for a difference group of the given type@Nonnull ColorgetOutlineColor(DiffGroup.GroupType content) Veraltet.@Nonnull ColorgetOutlineColor(@Nonnull Modification.ModificationType modificationType) Returns the color to mark the difference elements inside a difference group of the given type@Nullable ObjectgetSetting(String setting) Return the value for this settingbooleanisEnabled(VisibilitySetting content) Get the visibility for this settingvoidSet the color for this setting.voidsetEnabled(boolean isVisible, @Nonnull VisibilitySetting... visibles) Set the visibility for this settingvoidsetMarkerColor(@Nullable Color color, @Nonnull Modification.ModificationType modificationType) Set the color for the marker.voidsetMarkerColor(Color color, @Nonnull DiffGroup.GroupType content) Veraltet.voidsetSetting(@Nullable Object value, String setting) Set the specific setting with the value
-
Konstruktordetails
-
DefaultSetting
public DefaultSetting()The Defaultsetting with the default values- Seit:
- 4.1
-
-
Methodendetails
-
getAllObjectSettingNames
Returns all registered additional settings. To query the current value of the setting passVisibilitySetting.name()to theSettings.getSetting(String)method.- Angegeben von:
getAllObjectSettingNamesin SchnittstelleSettings- Gibt zurück:
- all additional settings, not
null
-
setMarkerColor
Veraltet.Set the color for the marker. Overrides the default provided by {linkColorProvider.getMarkerColor(GroupType). (For visible set the alpha to 0)- Angegeben von:
setMarkerColorin SchnittstelleSettings- Parameter:
color- the marker colorcontent- the group type tp set the marker color for
-
setColor
Set the color for this setting. If the key is aDiffGroup.GroupType, it overrides the default provided byColorProvider.getOutlineColor(GroupType)).
Note: Colors forDiffGroup.GroupTypes should be semi-transparent.- Angegeben von:
setColorin SchnittstelleSettings- Parameter:
color- the color to be used to the markupsetting- the setting key. e.G. aDiffGroup.GroupTypeor theSettings.METAOPTION.ALLOUTLINEMARKER- Siehe auch:
-
setEnabled
Set the visibility for this setting- Angegeben von:
setEnabledin SchnittstelleSettings- Parameter:
isVisible- true for visible otherwise falsevisibles- the visibility setting key(s) to update the vsibility for- Siehe auch:
-
isEnabled
Get the visibility for this setting -
getMarkerColor
Veraltet.Returns the color of the marker for a difference group of the given type- Angegeben von:
getMarkerColorin SchnittstelleColorProvider- Parameter:
content- the type of the difference group- Gibt zurück:
- the color of the marker for a difference group, should not be null
-
getColor
-
getSetting
Return the value for this setting- Angegeben von:
getSettingin SchnittstelleSettings- Parameter:
setting- the setting name- Gibt zurück:
- value for this setting or null if no setting be set.
-
setSetting
Set the specific setting with the value- Angegeben von:
setSettingin SchnittstelleSettings- Parameter:
value- value for the setting or null for remove the settingsetting- the setting name, usuallyVisibilitySetting.name()
-
copy
-
getOutlineColor
Veraltet.Returns the color to mark the difference elements inside a difference group of the given type- Angegeben von:
getOutlineColorin SchnittstelleColorProvider- Parameter:
content- the type of the difference group- Gibt zurück:
- the color to mark the difference elements, should not be null
-
getMarkerColor
Returns the color of the marker for a difference group of the given type- Angegeben von:
getMarkerColorin SchnittstelleColorProvider- Parameter:
modificationType- the type of the difference group- Gibt zurück:
- the color of the marker for a difference group, should not be null
-
getOutlineColor
Returns the color to mark the difference elements inside a difference group of the given type- Angegeben von:
getOutlineColorin SchnittstelleColorProvider- Parameter:
modificationType- the type of the difference group- Gibt zurück:
- the color to mark the difference elements, should not be null
-
setMarkerColor
public void setMarkerColor(@Nullable Color color, @Nonnull Modification.ModificationType modificationType) Set the color for the marker. Overrides the default provided by {linkColorProvider.getMarkerColor(ModificationType). (For visible set the alpha to 0)- Angegeben von:
setMarkerColorin SchnittstelleSettings- Parameter:
color- the marker colormodificationType- the group type tp set the marker color for
-